#ifndef TIMELINE_HPP
#define TIMELINE_HPP

#include <QMap>
class AbstractEvent;

class TimeLine {
public:
    TimeLine();
    void update(float);
    void insert(AbstractEvent*);
    void start();
    int eventCount() const;

private:
    void reset();
    QMap<float,AbstractEvent*> data;
    QMap<QByteArray,int> typeCount;
    float timebase;
    bool started;

};
#endif // TIMELINE_HPP
